package com.radar.utils;

public class ArraysExtent {

    public static void fill(double[] a, double val) {
        for (int i = 0, len = a.length; i < len; i++)
            a[i] = val;
    }

    public static void fill(double[][] a, double val) {
        for (int i = 0, len = a.length; i < len; i++)
            fill(a[i],val);
    }

    public static void fill(float[] a, float val) {
        for (int i = 0, len = a.length; i < len; i++)
            a[i] = val;
    }

    public static void fill(float[][] a, float val) {
        for (int i = 0, len = a.length; i < len; i++)
            fill(a[i],val);
    }


}
